angular.module('com.dcos.app').config(function ($stateProvider) {

	$stateProvider.state('app.workflow', {
		url: '/workflow',
		templateUrl: '../../views/workflow/workflow.html',
		controller: 'WorkFlowController as vm'

	});
	$stateProvider.state('app.workflow.create', {
		params: {p_id: null},
		url: '/create/{p_id:string}',
		templateUrl: '../../controllers/workflow/create/create.html',
		controller: 'WorkFlowCreateController as vm'

	});
	$stateProvider.state('app.workflow.edit', {
		params: {p_id: null},
		url: '/edit/{p_id:string}',
		templateUrl: '../../controllers/workflow/create/create.html',
		controller: 'WorkFlowCreateController as vm'

	});
	$stateProvider.state('app.workflow.build', {
		params: {p_id: null},
		url: '/build/{p_id:string}',
		templateUrl: '../../controllers/workflow/build/build.html',
		controller: 'WorkFlowBuildController as vm'

	});
	$stateProvider.state('app.workflow.copyetemplate', {
		params: {t_id: null},
		url: '/copy/{t_id:string}',
		templateUrl: '../../controllers/workflow/create/create.html',
		controller: 'WorkFlowCopyController as vm'

	});
});